From Scripts to Standardized Open-Source Tools
August 19, 2025
junco as case studyThe pharmaceutical industry faces unique challenges in clinical and statistical programming:
Our solution was to develop our own business logic framework for J&J table creation
The Junco package provides key features needed for production-ready clinical tables:
Industry Benefits
Creating internal R packages helps pharmaceutical companies:
Once we had the core functionality working, we needed to focus on:
Documentation is critical for package adoption and proper use:
#' Calculate risk difference with confidence intervals
#'
#' @param group1 Vector of outcomes for first group
#' @param group2 Vector of outcomes for second group
#' @param conf.level Confidence level (default: 0.95)
#' @return A list with risk difference and Cis
#' @export
risk_diff <- function(group1, group2, conf.level = 0.95) {
# Function implementation
}Quality assurance is essential for pharmaceutical applications: